import { SaaSPageParams } from '/@/api/model/baseModel';

export interface TenantAppListItem {
  tenant: string;
  application: string;
  instance: string;
  code: string;
  state: string;
  startTime: string;
  endTime: string;
}

export interface TenantAppItem {
  tenant: string;
  application: string;
  instance: string;
  code: string;
  state: string;
  startTime: string;
  endTime: string;
  clientId: string;
  clientSecret: string;
  domain: string;
}
export type PageParams = {
  tenant: string;
  application: string;
};

export type TenantAppPageParams = { model: PageParams } & SaaSPageParams;

export type ViewTenantAppParam = {
  code: string;
};
